package com.alisls.shequtao.service.goods.api;

import com.alisls.shequtao.service.goods.dto.CategoryDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 商品分类接口
 *
 * @author Ke Wang
 */
@RequestMapping("/service-product/category")
public interface CategoryApi {

    @GetMapping("/listCategoriesByIds")
    List<CategoryDTO> listCategoriesByIds(@RequestParam(name = "categoryIds") List<Long> categoryIds);

}
